/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package jobscheduling.gui;

import java.io.File;

/**
 *
 * @author bursant
 */
    class FileFilter extends javax.swing.filechooser.FileFilter {
        @Override
        public boolean accept(File file) {
            return file.isDirectory() || file.getAbsolutePath().endsWith(".txt");
        }
        @Override
        public String getDescription() {
            return "Text documents (*.txt)";
        }
    }
